import { defineStore } from "pinia";
import { useSessionStorage } from "@vueuse/core";

export default defineStore("useReportStore", {
  state: () => ({
    report: useSessionStorage("report", {}),
  }),
  actions: {
    setReport(data) {
      this.report = data;
    }
  },
});
